const mongoose = require('mongoose')
const Content = require('../../model/content')
const { Article } = require('../../model/article')


module.exports = async (req, res) => {

  var data = await Article.find().select('title _id')
  res.send({
    data,
    meta: {
      status: 200,
      msg: '请求成功'
    }
  })
}